import * as API from '@/api';

const test = {

    state: {
        
    },

    mutations: {

    },

    actions: {
        testMockAjax({ commit, state }, that) {
            return new Promise((resolve, reject) => {
                API.test({
                    data: {
                        test: 'test'
                    },
                    success: function(response) {
                        console.log(response);
                        resolve(response);
                    }
                });
            });
        }
    },

    getters: {}

};

export default test;
